<?php
namespace app\admin\model;

use think\model\concern\SoftDelete;

class Permission extends Base
{
    protected $title='权限';
    protected $power='permission';

    public function roles()
    {
        return $this->belongsToMany(Role::class,'role_permission');
    }
}